package com.yz.springtest.ioc;
/**
 * 墨攻，剧本。 
 * @author Administrator
 *
 */
public class MoAttack implements ActorArrangable{
	private GeLi geLi;
	
	/**************构造器注入***********************/
	//注入革离具体饰演者
//	public MoAttack (GeLi geLi) {
//		this.geLi = geLi;
//	}
	/**************属性注入***********************/
//	public void setGeLi (GeLi geLi) {
//		this.geLi = geLi;
//	}
	
	/************接口注入*************************/
	@Override
	public void injectGeLi(GeLi geLi) {
		this.geLi = geLi;
		
	}
	
	public void cityGateAsk () {
		geLi.responseAsk("墨者革离！");
	}
	
}
